//  打造 rootReducer  整合的reducer，项目中最大的 reducer
import { combineReducers } from "redux";

import { reducers as todosStore } from "../pages/todos/model.js"
import { reducers as userStore } from "../pages/user/model.js"
import { reducers as todoListStore } from "../pages/todoList/store"
const rootReducer = combineReducers({
    // 放置 其他的 reducer  ---  数据分类之后的其他数据
    todosStore,
    userStore,
    todoListStore
})

export default rootReducer